/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.example.demo.product;

import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 *
 * @author Administrator
 */
@Data
public class Product {
  @Id
  private String _id;

  private String productName;
  private String productPrice;
  
  public Product(String productName,String productPrice){
  
      this.productName = productName;
      this.productPrice = productPrice;
  }
  public Product(){}
}
